#pragma once
#include "BrokerKeyInfo.h"

class CBrokerKeyList;
class CBondComparatorIndirect{//参见Comparator
	CBrokerKeyList*		m_delegate;
public:
	CBondComparatorIndirect() :m_delegate(nullptr){}
	CBondComparatorIndirect(CBrokerKeyList* del);
	CBondComparatorIndirect(const CBondComparatorIndirect& cmp);
	CBondComparatorIndirect& operator=(const CBondComparatorIndirect& cmp);
	int operator()(const BrokerKeyInfo& b1, const BrokerKeyInfo& b2)const;
	int GetExpandLength(int count, int length);
};
